
// 封装本地存储
// 取
 export const getStorageCart = () =>{
  return wx.getStorageSync("cart");
};
// 存数据
/**
 * 
 * @param {Object} obj 要填充的数据
 */
export const setStorageCart = (obj) =>{
  return wx.setStorageSync("cart",obj);
};
// 储存分类数据
export const getStorageCates = () => {
  return wx.getStorageSync("cates");
};
export const setStorageCates = (obj) => {
  return  wx.setStorageSync("cates",obj);
};

